﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ORM.Business.Feedbacks
{
    public class Feedback<T> : Feedback
    {
        public T Data { get; set; }
        public Feedback(bool success, string message = null, T data = default(T))
            : base(success, message)
        {
            Data = data;
        }
    }
    public class Feedback
    {
        public bool Success { get; set; }
        public string Message { get; set; }
        public Feedback(bool success, string message = null)
        {
            Success = success;
            Message = message;
        }
    }
}